package org.jeecg.modules.tongxjl.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 通行记录
 * @Author: jeecg-boot
 * @Date:   2020-09-24
 * @Version: V1.0
 */
@Data
@TableName("ag_tongxjl")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ag_tongxjl对象", description="通行记录")
public class AgTongxjl implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**设备厂家*/
	@Excel(name = "设备厂家", width = 15, dicCode = "menjcj")
	@Dict(dicCode = "menjcj")
    @ApiModelProperty(value = "设备厂家")
    private String shebcj;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private String shebmc;
	/**抓拍照片*/
	@Excel(name = "抓拍照片", width = 15)
    @ApiModelProperty(value = "抓拍照片")
    private String zhuapzp;
	/**识别照片*/
	@Excel(name = "识别照片", width = 15)
    @ApiModelProperty(value = "识别照片")
    private String shibzp;
	/**识别卡号*/
	@Excel(name = "识别卡号", width = 15)
    @ApiModelProperty(value = "识别卡号")
    private String shibkh;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String xingm;
    /**部门*/
    @Excel(name = "部门", width = 15)
    @ApiModelProperty(value = "部门")
    private String bum;
	/**身份*/
	@Excel(name = "身份", width = 15, dicCode = "renysf")
	@Dict(dicCode = "renysf")
    @ApiModelProperty(value = "身份")
    private String shenf;
	/**核验方式*/
	@Excel(name = "核验方式", width = 15, dicCode = "heyfs")
	@Dict(dicCode = "heyfs")
    @ApiModelProperty(value = "核验方式")
    private String heyfs;
	/**进出方向*/
	@Excel(name = "进出方向", width = 15, dicCode = "jincfx")
	@Dict(dicCode = "jincfx")
    @ApiModelProperty(value = "进出方向")
    private String jincfx;
	/**通行时间*/
	@Excel(name = "通行时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "通行时间")
    private Date tongxsj;

	String mobile;

//	@TableField(exist = false)
//	String[] tongjfw2;
    @Excel(name = "人员编号", width = 15)
    @ApiModelProperty(value = "人员编号")
    String renybh;
}
